package com.flyduck.mall.pms.admin.vo;

import com.flyduck.mall.pms.domain.PmsSkuStock;
import com.flyduck.mall.pms.domain.PmsSpecificationValue;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * AdminSkuSaveReqVO
 * </p>
 *
 * @author flyduck
 * @since 2024-06-11
 */
@Data
public class AdminSkuSaveReqVO implements Serializable {

    @NotNull(message = "商品id不能为空")
    private Long productId;

    private List<PmsSpecificationValueVO> specValues;

    private List<PmsSkuStockVO> skuStocks;

    @Data
    public static class PmsSpecificationValueVO extends PmsSpecificationValue implements Serializable{

    }

    @Data
    public static class PmsSkuStockVO extends PmsSkuStock implements Serializable{

    }


}
